			<ul class="main_nav nav pull-right">                
                <li id="search" class="search"> 
                  <a href="#">Search</a> 
                  <div class="search_cont">
                      <form class="navbar-search form-search">                          
                          <input type="text" class="input-medium search-query" placeholder="Search">
                          <button type="submit">Search</button>
                      </form> 
                  </div>              
                </li> 
                <li id="settings" class="styled dropdown settings">
                  <a class="dropdown-toggle" data-toggle="dropdown" href="#">Settings</a>
                    <ul class="dropdown-menu top_menu">
                        <li class="show_all">Settings</li>
                        <li><a class="mn_site" href="<?php echo url_create('site','home')?>"><span>Site</span></a></li>
                        <li><a class="mn_admin" href="<?php echo url_create('admin','dashboard')?>"><span>Admin</span></a></li>
                        <li><a class="mn_mail" href="#"><span>Mail</span></a></li>
                        <li><a class="mn_user" href="<?php echo url_create('admin','user')?>"><span>User</span></a></li>
                    </ul>
                </li>
                <li id="profile" class="styled dropdown profile">
                  <a class="dropdown-toggle" data-toggle="dropdown" href="#">Profile</a>
                    <ul class="dropdown-menu top_menu">                        
                        <li class="profile group">
                          <img src="<?php echo fb_avatar($user->fb_id)?>" width="50" height="50" alt="User">
                          <ul>
                            <li><strong><?php echo $user->fullname?></strong></li>
                            <li><?php echo $user->username?></li>
                            <li><span><?php echo $user->id?></span></li>
                          </ul>
                        </li>
                        <li><a class="mn_settings" href="#"><span>My Settings</span></a></li>
                        <li><a class="mn_profile" href="profile.html"><span>My Profile</span></a></li>
                        <li><a class="mn_logout" href="<?php echo url_create('admin','logout','index')?>"><span><?php echo lang('logout')?></span></a></li>
                    </ul>
                </li>                          
            </ul>